#define _CRT_SECURE_NO_WARNINGS

#include<stdio.h>
#include<string.h>

void Chinese(int x)
{
    switch (x)
    {
    case 0:
        printf("ling");
        break;
    case 1:
        printf("yi");
        break;
    case 2:
        printf("er");
        break;
    case 3:
        printf("san");
        break;
    case 4:
        printf("si");
        break;
    case 5:
        printf("wu");
        break;
    case 6:
        printf("liu");
        break;
    case 7:
        printf("qi");
        break;
    case 8:
        printf("ba");
        break;
    case 9:
        printf("jiu");
        break;
    }
}

void Print(int x)
{
    if (x <= 9)
    {
        Chinese(x);
    }
    else
    {
        Print(x / 10);
        printf(" ");
        Chinese(x % 10);
    }
}

int main()
{
    char ch[102] = { 0 };
    scanf("%s", ch);
    int sz = strlen(ch);
    int i = 0;
    int sum = 0;
    for (i = 0; i < sz; i++)
    {
        sum += ch[i] - '0';
    }
    Print(sum);
    return 0;
}